package job;

import java.util.*;

/**
 * Author: Zhang Dongwei
 * Date: 2023/7/29 12:25
 */
public class t2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        List<List<String>> list = new ArrayList<>();//用一个List将原始数据以字符串存储
        String Line=null;
        while((Line=sc.nextLine()).length()!=0){
            list.add(Arrays.asList(Line.trim().split(" ")));
        }
        sc.close();
        int m = list.size();
        int n = list.get(0).size();
        int [][] matrix = new int[m][n];
        //将字符串变为int类型
        for(int i=0;i<m;i++)
        {
            for(int j=0;j<n;j++){
                matrix[i][j]= Integer.parseInt(list.get(i).get(j));
            }
        }

        for(int i=0;i<matrix.length;i++){
            for(int j=0;j<matrix[0].length;j++){
                System.out.print(matrix[i][j]+" ");
            }
            System.out.println("\n");
        }

    }
}
